package com.example.concurrent;

public class Juc02_ForkJoin {

    public static void main(String[] args) {
        //获取当前机器可用CPU个数
        int i = Runtime.getRuntime().availableProcessors();
        System.out.println(i);
    }
}
